package com.example.demo.nio;

import java.util.*;

import com.alibaba.fastjson.JSON;
import org.springframework.stereotype.Service;

@Service
public class NewsService {

    public String getNews(){
        return "servlet3 nio test.";
    }

    public StringBuilder getNewsMap(){
        return new StringBuilder("I do and i understand.");
    }
}
